﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductDetail.aspx.cs" Inherits="Project.UI.ProductDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="server">

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="Styles/Site.css" />
    <div style="margin-left: 100px; color:blue;background:burlywood;width: 225px">
       <h3 style="font-size: large;font-weight: bold">Chi tiết sản phẩm:</h3>
          <asp:DataList ID="DataList1" runat="server" RepeatColumns="4" RepeatDirection="Horizontal">
            <ItemTemplate>
              <a href='ProductDetail.aspx?pid=<%#Eval("Product_ID") %>'><asp:Image ID="Image2" runat="server" Height="163px" ImageUrl='<%# Eval("Represent_Pic1") %>' Width="211px" /></a>
                <br />
                <asp:Label ID="lblProductname" runat="server" Text='<%# Eval("Product_Name") %>'></asp:Label>
                <br />
                <asp:Label ID="Label2" runat="server" Text="Giá: "></asp:Label>
                <asp:Label ID="lblUnit_Price" runat="server" Text='<%# Eval("Unit_Price") %>'></asp:Label>
                <br />
                <asp:Label runat="server" Text="Mô tả: "></asp:Label>
                <asp:Label runat="server" Text='<%#Eval("Description") %>'></asp:Label>
                <br/>
                <asp:Label ID="Label1" runat="server" Text="Hiệu: "></asp:Label>
                <asp:Label ID="Label3" runat="server" Text='<%#Eval("Supplier") %>'></asp:Label>
                <br/>
                 <asp:Label ID="Label4" runat="server" Text="Số lượng còn: "></asp:Label>
                <asp:Label ID="Label5" runat="server" Text='<%#Eval("Quantity") %>'></asp:Label>
                <br/>
                <a href='OrderProduct.aspx?oid=<%#Eval("Product_ID") %>'><asp:Image ID="Image1" runat="server" Height="40px" Width="46px" ImageUrl="ProductPicture/cart.jpg" /></a>
            </ItemTemplate>
        </asp:DataList>
    </div>
</asp:Content>
